import { createApp } from 'vue'
import './style.css'
import "normalize.css"
import 'element-plus/dist/index.css'
import App from './App.vue'
// 5.0 导入路由
import router from './router/index'

import * as ElementPlusIconsVue from '@element-plus/icons-vue'

const app = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
// 6.0 使用路由
app.use(router).mount('#app')
